/* Fenlei.css - 抢单页面样式 */
.fenlei-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 搜索栏样式 */
.search-section {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
    z-index: 1;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding-left: 35px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

/* 标签页样式 */
.tabs-section {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.tabs-section .adm-tabs-header {
    background: transparent;
    border: none;
}

.tabs-section .adm-tabs-tab {
    color: #666;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tabs-section .adm-tabs-tab-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* 订单列表区域 */
.orders-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.orders-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.refresh-btn {
    border-radius: 20px;
    font-size: 14px;
    height: 36px;
    padding: 0 16px;
    border: 2px solid #667eea;
    color: #667eea;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 加载状态 */
.loading-container {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading-container p {
    margin-top: 16px;
    font-size: 16px;
}

/* 订单卡片样式 */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.order-type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-type .adm-tag {
    border-radius: 20px;
    font-weight: 500;
    padding: 4px 12px;
    font-size: 14px;
}

.heavy-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.order-reward {
    text-align: right;
}

.reward-amount {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1;
}

.reward-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* 订单内容 */
.order-content {
    padding: 20px;
}

.order-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.order-info {
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.info-icon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.info-text strong {
    color: #333;
    font-weight: 600;
}

/* 订单详情 */
.order-details {
    margin-bottom: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* 订单元信息 */
.order-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.meta-icon {
    font-size: 14px;
}

/* 订单标签 */
.order-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.order-tags .adm-tag {
    border-radius: 16px;
    font-size: 12px;
    padding: 4px 10px;
    font-weight: 500;
}

/* 订单操作 */
.order-actions {
    padding: 0 20px 20px;
}

.grab-btn {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.grab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.grab-btn:active {
    transform: translateY(0);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-state p {
    margin: 8px 0;
    font-size: 16px;
}

.empty-tip {
    font-size: 14px;
    color: #bbb;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .fenlei-container {
        padding: 12px;
    }
    
    .orders-section {
        padding: 16px;
    }
    
    .order-header {
        padding: 12px 16px;
    }
    
    .order-content {
        padding: 16px;
    }
    
    .order-actions {
        padding: 0 16px 16px;
    }
    
    .reward-amount {
        font-size: 20px;
    }
    
    .order-title {
        font-size: 16px;
    }
}

/* 动画效果 */
.order-card {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动条样式 */
.orders-list::-webkit-scrollbar {
    width: 6px;
}

.orders-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.orders-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.orders-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}